package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.Applicant;
import cn.wolfcode.trip.base.domain.User;
import cn.wolfcode.trip.base.query.QueryObject;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface ApplicantMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Applicant record);

    Applicant selectByPrimaryKey(Long id);

    List<Applicant> selectAll();

    int updateByPrimaryKey(Applicant record);

    List<User> selectForList(@Param("cityPlayId") Long cityPlayId);
}